/*
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2014
 *
 * fileName:  IException.java
 * author:  lei
 * Company:  Cloudland Studio
 * Createdate:  2013-9-14 上午10:15:05
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2013-9-14          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.core.exception;

 /**
 * <pre> 
 * 异常接口。
 * </pre>
 * @ClassName  IException
 * @author  lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public interface IException {
	
	/**
	 * <pre>
	 * 获取异常对应错误编号。
	 * </pre>
	 *
	 * @return  异常编号  
	 */
	String getCode();

	
	/**
	 * <pre>
	 * 获取异常信息。
	 * </pre>
	 *
	 * @return  具体异常信息
	 */
	String getMessage();
}
